package com.ruoyi.SysCamera.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 区域管理对象 city
 * 
 * @author ygr
 * @date 2024-03-22
 */
@Schema(description = "区域管理对象")
public class City extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Schema(defaultValue = "序号")
    @Excel(name = "序号")
    private Long cityId;
    /** 城市名称 */
    @Schema(defaultValue = "城市名称")
    private String cityName;
    /** 摄像头id */
    @Schema(defaultValue = "摄像头id")
    @Excel(name = "摄像头id")
    private Long cameraId;
    /** 状态 */
    @Schema(defaultValue = "状态")
    @Excel(name = "状态")
    private String state;
    /** 地址 */
    @Schema(defaultValue = "地址")
    @Excel(name = "地址")
    private String ip;
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }


    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }


    public void setCameraId(Long cameraId) 
    {
        this.cameraId = cameraId;
    }

    public Long getCameraId() 
    {
        return cameraId;
    }


    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }


    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("cameraId", getCameraId())
            .append("state", getState())
            .append("ip", getIp())
            .toString();
    }
}
